package com.shanzhe.eshop.order.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shanzhe.eshop.order.pojo.OrderDTO;

import java.util.List;

/**
 * @Author yinwei
 * @create 2021/9/30
 * @Version 1.0
 */
public interface OrderMapper extends BaseMapper<OrderDTO> {

    /**
     * 获取所有订单数据
     * @return List<OrderDTO>
     */
    List<OrderDTO> listOrders();
}
